﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="false" CodeBehind="ProductDetail.aspx.vb" Inherits="ACompany.OrderProcessing.UI.MVCWeb.ProductDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<h2>Product Detail</h2>
<ul>

<li>Id: <%=Html.Encode(ViewData.Model.Id.ToString)%></li>
<li>Name: <%=Html.Encode(ViewData.Model.Name)%></li>
<li>Stock: <%=Html.Encode(ViewData.Model.Stock)%></li>
<li>Price: <%=Html.Encode(ViewData.Model.Price)%></li>
</ul>

<%=Html.ActionLink("Edit Product", "Edit", New With {.id = ViewData.Model.Id.ToString})%>

</asp:Content>
